var express = require('express');
var router = express.Router();

import { doLog,doReg,doRegCode,getInfo,changeInfo } from '@controllers/user'

router.post('/login',doLog)

router.post('/regin',doReg)

router.post('/regincode',doRegCode)

router.get('/info',getInfo)

router.put('/changeinfo',changeInfo)

module.exports = router
